package com.example.newdemo.net.test;

import com.google.gson.JsonObject;

import io.reactivex.Observable;
import okhttp3.RequestBody;
import retrofit2.http.Body;
import retrofit2.http.POST;

public interface GetRequest_Interface {

    /*-------------------------------------所有网络请求 API-------------------------------------------------------*/


    @POST("/app/auth/captcha")
    Observable<JsonObject> postPhone(@Body RequestBody route);  //获取验证码
    @POST("/app/auth/login")
    Observable<JsonObject> postRegist(@Body RequestBody route);//登录注册
}
